package com.jt.demo2.server;

import com.jt.demo2.anno.CGB2110;
import com.jt.demo2.anno.Find;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Override
    @CGB2110
    @Find
    public void addUser() {
        System.out.println("创建用户成功");
    int a=1/0;
    }

    @Override
    public void deleteUser() {
        System.out.println("用户成功删除");
    }

    @Override
    @CGB2110
    public int findCount() {
            return 10000;}
}
